package com.fh.type.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fh.type.entity.ShopType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 描述:
 * Author:袁亚强
 * Date:2022/1/610:13
 */
@Mapper
public interface ShopTypeMapper extends BaseMapper<ShopType> {

    void upOrDel(ShopType shopType);
    @Select("select * from t_shop_type where isdel=0")
    List<ShopType> queryShopType();

    @Select("select * from t_shop_type where isdel=0")
    List<ShopType> queryTypeData();

}
